package com.example.feignconsumer.service;

import com.example.helloserviceapi.service.HelloService;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//调用注册中心服务的服务名
@FeignClient(name = "SERVICE")
public interface FeignConsumerService extends HelloService{

//    调用该服务的具体URL地址
    @RequestMapping("/123")
    void hello();

}
